import { createApp } from 'vue'
import App from './App.vue'
// pinia
import { createPinia } from 'pinia'
// 持久化插件
import persistedState from 'pinia-plugin-persistedstate'

const pinia = createPinia()
// 插件
pinia.use(persistedState)

const app = createApp(App)

app.use(pinia)

app.mount('#app')
